home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
PET
/
E-Education
/
(e)d2.d64
/
monster wave.2
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2008-11-26
|
20KB
|
581 lines
10 :REM *** R. PRACHUN (1983) ***
12 :REM *** P.O.BOX 1447 ***
14 :REM *** PORT PERRY, ONT. ***
16 :REM *** L0B 1N0 ***
18 :
22 DATA 169 , 1 , 162 , 4 , 160
24 DATA 255 , 32 , 186 , 255 , 32
26 DATA 192 , 255 , 162 , 1 , 32
28 DATA 201 , 255 , 133 , 2 , 32
30 DATA 231 , 255 , 96 , 0 , 0
31 :
32 POKE 808,225:REM DISABLE STOP/RESTORE KEYS
33 :
34 YY=28:GOSUB10000:DQ=0
36 DL$(1)=" "
38 DL$(2)=" "
40 DL$(3)=" "
42 DL$(4)=" "
44 F$="":WS$=""
46 NA$=" [205]ONSTER [215]AVE "
48 MO$(0)=" ":MO$(1)=""
50 E$=" "
52 X1$="":X2$=""
54 X3$="":X4$=""
56 X5$=""
58 D5$=" [215]HAT IS YOUR CHOICE (1-4)? [146]"
60 Y1$=""
62 Y2$=""
64 Y3$=""
66 Y4$=""
68 PRINTCHR$(142):PRINT""
70 GOSUB5220
72 PRINT"[147]"CHR$(14):GOSUB5000
74 GOTO122
76 DIM P1$(3,120):I=0
78 C1=0:C2=0:W=0:R=0:PR=0
80 :
82 FORK=1TO3:I=0:POKE53280,K+9:POKE53281,K+10
84 I=I+1:READ P1$(K,I):IFP1$(K,I)="***"THEN88
86 N1(K)=N1(K)+1:GOTO84
88 NEXT K
90 :
92 FORK=1TO3:POKE53280,K+7:POKE53281,K+8
94 FORJ=1TO8:READQ1$(K,J),Q2$(K,J)
96 READ D1$(K,J),D2$(K,J),D3$(K,J),D4$(K,J),CO(K,J)
98 CV=CV+1:IFCV=2THENYY=158:CV=0
100 IFCV=1THENYY=28
102 GOSUB5350:NEXTJ:PRINT""
104 L(K,1)=INT(8*RND(1)+1)
106 FOR J=2TO5
108 L(K,J)=INT(8*RND(1)+1)
110 FORL=1TOJ-1
112 IFL(K,J)=L(K,L)THENL=J-1:GOTO108
114 NEXTL,J
116 NEXTK
118 RETURN
120 :
122 GOSUB194:F=1:GOSUB5670
124 GOSUB 248
126 IFVQ=2THENVQ=0:GOTO122
128 :
130 F=2
132 PRINT"[147]";NA$:PRINT" [208]ART 2":PRINT""
134 GOSUB 356:GOSUB194
136 GOSUB5670
138 GOSUB248
140 IFVQ=2THENVQ=0:GOTO130
142 F=3:PRINT"[147]";NA$:PRINT" [208]ART 3":PRINT""
144 GOSUB356:GOSUB194:GOSUB5670
146 GOSUB248
148 IFVQ=2THENVQ=0:GOTO142
150 PRINT"[147] [211]UMMARY [210]EPORT ":TQ=R+W
152 PRINT" [211]TUDENT: ";SN$
154 ZZ=W+R:PR=INT((R/ZZ)*100)
156 PRINT" [212]OTAL [206]UMBER OF [209]UESTIONS:";TQ
158 PRINT" [193]NSWERS CORRECT (1ST TRY):";C1
160 PRINT" [193]NSWERS CORRECT (2ND TRY):";C2
162 PRINT" [212]OTAL [201]NCORRECT [209]UESTIONS:";W
164 PRINT" [212]OTAL [209]UESTIONS [195]ORRECT :";R
166 PRINT" =============================="
168 PRINT" [208]ERCENTAGE [195]ORRECT :";PR;" %"
170 GOSUB6570:IFDQ=2THENDQ=0:GOTO170
172 PRINT"[147] [196]O YOU WISH TO SEE THE STORY"
174 PRINT" IN PARAGRAPH FORM (Y/N)?"
176 GETZ$:IFZ$=""THEN176
178 IFZ$="Y"THEN182
180 GOSUB6410:GOTO 8000
182 FORK=1TO3
184 PRINT"[147]";NA$;"":FORI=1TON1(K)
186 PRINT MO$(NX);P1$(K,I)" ";
188 NX=NX+1:IFNX=2THENPRINT:NX=0
190 IFP1$(K,I)=" "THENGOSUB6200
192 NEXTI:NX=0:NEXTK:GOSUB6410:GOTO6240
194 IFQH=1THENRETURN
196 PRINT"[147]";NA$
198 PRINT"[144] [195]HOOSE THE STORY SPEED."
200 PRINT" 1.[146] [198]AST"
202 PRINT" 2.[146] [205]EDIUM"
204 PRINT" 3.[146] [211]LOW"
206 PRINT"[144] [217]OUR CHOICE (1,2,3)?"
208 GETZ$:IFZ$=""THEN208
210 GOSUB5560:CH=VAL(Z$):IFCH<1ORCH>3THEN194
212 IFCH=1THENS=20
214 IFCH=2THENS=50
216 IFCH=3THENS=75
218 GOSUB 220:GOSUB236:RETURN
220 PRINT"[147] [212]O CHANGE THE STORY SPEED, PRESS"
222 PRINT" AND [200][207][204][196] THE FOLLOWING KEYS;"
224 PRINT" [212]HE [144] [198]1 [146] KEY = [198][193][211][212][197][210]"
226 PRINT" [212]HE [144] [198]7 [146] KEY = [211][204][207][215][197][210]"
228 PRINT" [208]RESS THE [210][197][212][213][210][206] KEY TO START."
230 GETZ1$:IFZ1$=""THEN230
232 IFZ1$<>CHR$(13)THEN230
234 GOSUB5560:RETURN
236 PRINT"[147]":X=1305:Y=1465:XC=55576:YC=55736
238 PRINT""
240 PRINT" [198]1 [146] = [198]ASTER [198]7 [146] = [211]LOWER"
242 FORDY=1TO500:NEXTDY
244 FOR J=1TO 39
246 POKEX,42:POKEXC,7:POKEYC,7:XC=XC+1:YC=YC+1:POKEY,42:X=X+1:Y=Y+1:NEXTJ:RETURN
248 POKE53280,6:POKE53281,12:PRINT"[147]";NA$:PRINT:POKE198,0
250 PRINT" ";SN$;", WOULD YOU LIKE TO"
252 PRINT" READ THIS PART OF THE STORY AGAIN "
254 PRINT" BEFORE ANSWERING THE QUESTIONS "
256 PRINT" THAT FOLLOW (Y/N)?"
258 GETZ$:IFZ$=""THEN258
260 GOSUB5560
262 IFZ$="Y"ANDF=1THEN122
264 IFZ$="Y"ANDF=2THEN124
266 IFZ$="Y"ANDF=3THEN142
268 IFZ$<>"N"THEN248
270 PRINT"[147]"NA$
272 PRINT" [208]LEASE ANSWER THE FOLLOWING QUESTIONS"
274 PRINT" BY TYPING IN THE NUMBER THAT MATCHES"
276 PRINT" THE CORRECT ANSWER."
278 GOSUB 356:TM=0
280 FOR J=1TO5
282 PRINT"[147] [209][213][197][211][212][201][207][206] #[146] ";J
284 PRINT"[158] **************************************"
286 PRINT" ";Q1$(F,L(F,J)):PRINT" ";Q2$(F,L(F,J))
288 PRINT"[158] **************************************"
290 GOSUB382
292 GETZ$:IFZ$=""THEN292
294 QC=VAL(Z$):IFQC<1ORQC>4THEN292
296 GOSUB370
298 FORV=1TO4
300 IFV=QCTHEN304
302 PRINTDL$(V)
304 NEXTV
306 IFQC=CO(F,L(F,J))THEN348
308 PRINTY1$;" [211]ORRY, THAT IS INCORRECT."
310 PRINTY2$;" [212]RY AGAIN!"
312 GOSUB382
314 GETZ1$:IFZ1$=""THEN314
316 QS=VAL(Z1$):IFQS<1ORQS>4THEN314
318 IFQS=CO(F,L(F,J))THEN336
320 FORV=1TO4
322 IFV=CO(F,L(F,J))THEN326
324 PRINTDL$(V)
326 NEXTV
328 PRINTY3$;" [206]O, THE ANSWER IS NUMBER ";CO(F,L(F,J)):W=W+1
330 TM=TM+1:IFTM=3THENJ=5:GOSUB6300:W=W-1:RETURN
332 :
334 GOSUB 356:GOTO354
336 FORV=1TO4
338 IFV=QSTHEN342
340 PRINTDL$(V)
342 NEXTV:GOSUB370
344 PRINTY3$;" [206]OW YOU HAVE IT! [199]OOD WORK!":C2=C2+1
346 GOSUB364:R=R+1:GOSUB356:GOTO354
348 GOSUB402:PRINTY2$;CG$:R=R+1:C1=C1+1
350 GOSUB364
352 GOSUB356
354 NEXTJ:RETURN
356 PRINT:PRINT" [208]RESS THE [146] [210][197][212][213][210][206] KEY TO CONTINUE "
358 GETQ$:IFQ$=""THEN358
360 IFQ$<>CHR$(13)THEN358
362 GOSUB5560:RETURN
364 FORSX=1TO10:POKE53280,SX:POKE53281,SX+1:FORDY=1TO25:NEXTDY:NEXTSX
366 POKE53280,6:POKE53281,12
368 RETURN
370 PRINTY1$" "
372 PRINTY2$" "
374 PRINTY3$" "
376 PRINTY4$" "
378 PRINTX5$" "
380 RETURN
382 REM
384 PRINTX1$;" 1.[146] ";D1$(F,L(F,J))
386 PRINTX2$;" 2.[146] ";D2$(F,L(F,J))
388 PRINTX3$;" 3.[146] ";D3$(F,L(F,J))
390 PRINTX4$;" 4.[146] ";D4$(F,L(F,J))
392 PRINTX5$;" ";D5$
394 RETURN
396 :
398 REM **** DATA FOR STORY ****
400 :
402 WS=INT(RND(1)*5+1)
404 ONWSGOSUB408,410,412,414,416
406 RETURN
408 CG$=" [195][160][207][160][210][160][210][160][197][160][195][160][212] ! ":RETURN
410 CG$=" [198][160][193][160][206][160][212][160][193][160][211][160][212][160][201][160][195] ! ":RETURN
412 CG$=" [211][160][213][160][208][160][197][160][210] [215][160][207][160][210][160][203]! ":RETURN
414 CG$=" [201][160][206][160][195][160][210] [197][160][196][160][201] [194][160][204][160][197] ! ":RETURN
416 CG$=" [211] [212][160][213][160][208][160][197][160][206][160][196][160][207][160][213] [211] ! ":RETURN
2000 DATA" [201] CAN","STILL HEAR","MY MOTHER'S WORDS,","'[206]OW, REMEMBER,"
2005 DATA"IF YOUR EVER","IN TROUBLE,","JUST FIND","A POLICEMAN","AND HE WILL"
2010 DATA"HELP YOU.'","[199]REAT!","[194]UT, WHERE","DO YOU FIND","A POLICEMAN"
2015 DATA"IN THE MIDDLE","OF A HURRICANE?"," "
2020 DATA" [201] SHOULD","HAVE TAKEN","MOM'S ADVICE","AND GONE","TO CAMP","FOR MY"
2025 DATA"SUMMER VACATION.","[201]NSTEAD,","[201] DECIDED","TO JOIN [202]EFF"
2030 DATA"AND HIS DAD","ON THEIR SLOOP,","THE [211]ALLY-[194],","FOR A CRUISE"
2035 DATA"TO [193]LASKA.","[201] THOUGHT","IT WOULD BE","MORE EXCITING,","BUT THIS"
2040 DATA"WAS RIDICULOUS!"," "
2045 DATA" [197]VERYTHING","WAS SUPER","UNTIL","THIS MORNING.","[215]E COULD SEE"
2050 DATA"THE WEATHER BUILDING","TO THE WEST.","[202]EFF'S DAD","ASSURED US THAT"
2055 DATA"WE COULD REACH","A MAINLAND","HARBOUR","IN PLENTY","OF TIME."
2056 DATA"[193]ND WITH HIM"
2060 DATA"AT THE HELM,","WE WOULD HAVE.","[194]UT ONCE","HE GOT SICK,"
2065 DATA"WE KNEW","WE WERE","IN TROUBLE!"," "
2070 DATA" [215]E'D MANAGED","TO HOIST","THE STORM SAILS","BEFORE","THE WORST"
2075 DATA"OF IT HIT.","[202]EFF'S DAD","WAS IN","A BAD WAY.","[200]E'D COMPLAINED"
2077 DATA"ABOUT STOMACH CRAMPS","AND NOW","HE WAS UNCONSCIOUS","IN ONE OF"
2080 DATA"THE STARBOARD BERTHS.","[202]EFF","STAYED BELOW"
2085 DATA"WITH HIM","AND TRIED","TO RAISE","SOMEONE","ON THE RADIO."
2090 DATA"[211]O FAR,","STATIC","WAS ALL","THAT HE","COULD HEAR."," "
2095 DATA" [201] WAS TOPSIDE","AT THE HELM.","[212]HE WAVES","WERE INCREDIBLE!"
2100 DATA"[201]'D DONE","SOME SURFING","LAST SUMMER","AND THOUGHT","THOSE WAVES"
2105 DATA"WERE BIG.","[194]IG, MY FOOT!","[212]HOSE WAVES","WERE GOOSEBUMPS"
2110 DATA"COMPARED TO","THESE GIANTS."," ","***"
2115 DATA" [215]E HAD ONLY","ONE CHANCE.","[201] KEPT","[211]ALLY-[194]'S COMPASS"
2120 DATA"ON DUE EAST.","[215]E COULDN'T","HAVE BEEN","MORE THAN","25 MILES OUT"
2122 DATA"FROM THE COAST,","ACCORDING TO","THE LAST POSITION"
2123 DATA"MARKED ON THE MAP."
2125 DATA"[201] FIGURED","SINCE [206]ORTH [193]MERICA","WAS SO BIG,","WE COULDN'T MISS."
2130 DATA"[198]INDING LAND","WOULD BE","ONE THING,","BUT GETTING ASHORE"
2133 DATA"IN ONE PIECE,","THAT WOULD BE","QUITE ANOTHER!"," "
2140 DATA" [215]HEN [201]","FIRST NOTICED","THE FLASH,"
2142 DATA"OF LIGHT,","[201] WAS SURE","IT WAS LIGHTENING."
2145 DATA"[193]S THE MINUTES","PASSED HOWEVER,","[201] REALIZED"
2150 DATA"THAT THEY WERE","TOO REGULAR.","[201]T WAS THEN","THAT [201] BECAME"
2152 DATA"AWARE OF"
2155 DATA"A THUNDERING ROAR","LOUDER THAN","THE WIND.","[201]T WAS","THE SOUND"
2160 DATA"OF WAVES EXPLODING","AGAINST ROCKS!"," "
2162 DATA" [207]N THE CREST","OF THE NEXT WAVE,"
2165 DATA"[201] COULD","CLEARLY SEE","THE TREE TOPPED","CLIFFS","BEING POUNDED BY"
2170 DATA"FOAMING SURF!","[201] WAS CLOSE","TO PANIC!","[211]UDDENLY,","THE LIGHT"
2175 DATA"FLASHED AGAIN.","[201]T WAS","A LIGHTHOUSE!"
2180 DATA"[201] COULD","JUST MAKE OUT","ITS SILHOUETTE","AGAINST","THE GREY SKY."
2182 DATA" "
2185 DATA" [202]EFF POKED","HIS HEAD","OUT OF","THE CABIN","AND SCREAMED"
2190 DATA"SOMETHING ABOUT","THE RADIO,","BUT [201] COULDN'T"
2195 DATA"HEAR A WORD","OVER","THE DEAFENING ROAR.","[201]T TOOK","ALL MY ENERGY"
2200 DATA"TO HOLD","THE [211]ALLY-[194]","ON COURSE","TOWARD THAT"
2205 DATA"FLASHING PILLAR","OF HOPE!"," ","***"
2210 DATA" [201] CAN'T","CLEARLY RECALL","THE NEXT SERIES","OF EVENTS."
2215 DATA"[201] DO KNOW,","THAT WE WERE","DIRECTLY OPPOSITE","THE LIGHTHOUSE"
2220 DATA"WHEN IT HAPPENED."," "," [201] FELT","A RUMBLING","THROUGH THE DECK."
2225 DATA"[201] WAS CERTAIN","WE HAD STRUCK","A REEF!"
2230 DATA"[201] CAN STILL","CLEARLY PICTURE","[202]EFF'S EYES","OPENED WIDE"
2235 DATA"WITH TERROR","AS HE STARED","BEHIND ME."," "," [201] WHEELED"
2240 DATA"AROUND,","BUT ALL","[201] SAW","WAS A WALL","OF FOAMING,"
2245 DATA"WHITE, WATER!","[212]HAT WAVE","MUST HAVE BEEN","THE WAVE","TO END"
2250 DATA"ALL WAVES."," "
2255 DATA" [215]HEN [201] OPENED","MY EYES AGAIN,","A FACE","WITH CONCERNED","EYES"
2260 DATA"WAS WATCHING ME.","[212]HE FACE","CAME CLOSE","AND WHISPERED,"
2265 DATA"'[201]T'S ALRIGHT,","EVERYONE'S SAFE!'"," "," [201] TRIED","DESPERATELY"
2270 DATA"TO ASK","WHAT HAPPENED,","BUT BEFORE","[201] COULD SPEAK,","THE VOICE"
2272 DATA"WENT ON."," "
2275 DATA" '[212]HE LIGHTHOUSE KEEPER","HEARD ","Y'UR MAYDAY","JUST AS"
2280 DATA"HE SIGHTED","Y'UR SAILS.","[200]E FIGURED","YOU WAS A'GONNER"
2282 DATA"WHEN HE SPIED","THAT WAVE.'","[200]E LEANED","STILL CLOSER."
2285 DATA"'[217]OU MUST","LIVE RIGHT SON,","'CAUSE","THAT MONSTER WAVE"
2290 DATA"PICKED UP","Y'UR LITTLE BOAT","AND SHOT","YOU THROUGH","THE CHANNEL"
2295 DATA"LIKE A CANNONBALL!","[193]N' THAT","BOAT OF YOURS","WELL,"
2300 DATA"SHE AIN'T","EVEN SCRATCHED.'"," "," [212]HE MAN","STARTED TO"
2302 DATA"BACK AWAY,"
2305 DATA"BUT [201] MANAGED","TO GRAB","HIS ARM.","'[193]ND WHO","ARE YOU?'"
2310 DATA"[201] CROAKED OUT."," "
2315 DATA"'[205]E?'","[200]E SMILED.","'[215]HY, [201]'M","THE POLICEMAN"
2317 DATA"'ROUND HERE!'"," ","***"
2320 DATA"[212]HE AUTHOR'S MOTHER ADVISED HIM","TO SPEND THE SUMMER;"
2325 DATA"AT HOME","SURFING","AT CAMP","ON A CRUISE",3
2330 DATA"[212]HE SAILBOAT WAS CALLED;"," ","THE [211]ILLY-[194]","THE [211]ALLY-[194]"
2335 DATA"THE [211]OL-[195]","NONE OF THESE",2
2340 DATA"[212]HE CRUISE WAS HEADING FOR;"," ","[200]AWAII","[195]ANADA","[194]ERMUDA","[193]LASKA"
2345 DATA4,"[212]HE SAILBOAT WAS ;"," ","A SLOOP","A SCHOONER","A CATAMARAN"
2350 DATA"A BRIGATINE",1
2355 DATA"[215]HAT DOES THE PHRASE 'THE WEATHER","WAS BUILDING' MEAN?"
2360 DATA"THE WIND WAS BEGINNING TO BLOW"
2365 DATA"HEAVY RAIN","A HURRICANE","A STORM STARTING",4
2370 DATA"WHAT IS THE MEANING OF THE","WORD, 'RIDICULOUS'?"
2375 DATA"STUPID","DANGEROUS","HAPPY","UNBELIEVABLE",4
2380 DATA"[215]HY WAS IT SO IMPORTANT FOR [202]IM'S","DAD TO BE AT THE HELM?"
2385 DATA"HE WAS THE STRONGEST","THE AUTHOR WAS A POOR SAILOR"
2390 DATA"HE KNEW THE WEATHER BEST","IT WAS HIS BOAT",2
2395 DATA"[215]HY WAS [202]EFF'S DAD IN A 'BAD","WAY'?","HE COULDN'T SAIL"
2400 DATA"HE FELL ASLEEP","HE WAS UNCONSCIOUS","HE HAD A FEVER",3
2405 DATA"[215]HY DID [202]EFF STAY BELOW?"," ","HE WAS SEASICK","HE WORKED THE RADIO"
2410 DATA"HE HELPED HIS FATHER","BOTH 2 & 3",4
2415 DATA"[215]HY WAS FINDING LAND ONLY PART","OF THE PROBLEM?"
2420 DATA"THE SEA WOULD BE ROUGH","THE SHORE WOULD BE HIDDEN"
2425 DATA"THEY WOULD BE TOO TIRED","THEY WERE LOST",1
2430 DATA"[215]HY COULD THE FLASH NOT BE","LIGHTENING?","IT WAS TOO BRIGHT"
2435 DATA"IT LASTED TOO LONG","IT WAS COLOURED","IT WAS TOO REGULAR",4
2440 DATA"[215]HAT DOES THE AUTHOR MEAN WHEN","HE SAYS THE FLASH WAS TOO REGULAR?"
2445 DATA"THE FLASH PULSED STEADILY","IT WAS TOO ORDINARY"
2450 DATA"THE FLASH WAS TOO BRIGHT","THE LIGHT WAS CONSTANT",1
2455 DATA"[215]HAT CAUSED THE 'THUNDERING","ROAR'?","THE WAVES"
2460 DATA"THE FLASHING LIGHT","THE BREAKING WAVES","THE THUNDER",3
2465 DATA"[215]HAT IS THE 'CREST' OF A WAVE?"," ","THE BREAKER","THE TOP"
2470 DATA"THE BOTTOM","THE MIDDLE",2
2475 DATA"[215]HAT DID THE AUTHOR SEE AT THE","CREST OF THE WAVE?"
2480 DATA"LARGE ROCKS","BREAKING WAVES","TREE TOPPED CLIFFS","ROCKY CLIFFS",3
2485 DATA"[215]HY WAS THE AUTHOR CLOSE TO PANIC","WHEN HE SAW SHORE?"
2490 DATA"HE WAS LOST","HE COULDN'T HEAR [202]EFF","THE ROAR WAS TOO LOUD"
2495 DATA"THERE WERE ROCKS ON SHORE",4
2500 DATA"[215]HAT DOES THE WORD 'SILHOUETTE'","MEAN?","A BRIGHT LIGHT"
2505 DATA"AN OUTLINE","A WALL","A SHADOW",2
2510 DATA"[215]HY COULDN'T THE AUTHOR HEAR WHAT","[202]EFF WAS SCREAMING?"
2515 DATA"[202]EFF WAS DOWN BELOW","THE SAILS FLAPPED TOO LOUDLY"
2520 DATA"THE AUTHOR'S EARS WERE PLUGGED","THE STORM WAS TOO LOUD",4
2525 DATA"[215]HY WOULD IT TAKE SO MUCH ENERGY","TO KEEP THE BOAT ON COURSE?"
2530 DATA"THE WIND WAS VERY STRONG","THE SEA WAS ROUGH","THE AUTHOR WAS SCARED"
2535 DATA"ALL OF THE ABOVE",4
2540 DATA"[215]HAT WAS THE 'PILLAR OF HOPE'?"," ","THE SHORE CLIFFS"
2545 DATA"THE LIGHTHOUSE","THE BOAT'S MAST","THE TALL WAVES",2
2550 DATA"[215]HY COULDN'T THE AUTHOR REMEMBER","THE LANDING TOO CLEARLY?"
2555 DATA"HE WAS TOO FRIGHTENED","HE WAS TOO BUSY","HE WAS TOO TIRED"
2560 DATA"HE WAS UNCONSCIOUS",4
2565 DATA"[215]HAT HAD CAUSED THE RUMBLING","THROUGH THE DECK OF THE BOAT?"
2570 DATA"A HUGE WAVE","A LARGE ROCK","A SHALLOW REEF","THE WIND IN THE SAILS"
2575 DATA1,"[215]HY WERE [202]EFF'S EYES OPENED","WIDE WITH TERROR?"
2580 DATA"HE COULDN'T YELL OVER THE NOISE","HE WAS WORRIED ABOUT HIS DAD"
2585 DATA"HE SAW THE WAVE COMING","THE RUMBLING SCARED HIM",3
2590 DATA"[215]HAT DOES THE PHRASE,'THE WAVE","TO END ALL WAVES' MEAN?"
2595 DATA"THE WAVE WAS THE LAST ONE","THE WAVE WAS VERY LARGE"
2600 DATA"THE WAVE WAS BREAKING","THE WAVE WAS A SOLID WALL",2
2605 DATA"[215]HAT DOES THE WORD 'DESPERATELY","MEAN?","IN A HURRY"
2610 DATA"WITH PAIN","WITH A GREAT DEAL OF EFFORT","OF LITTLE IMPORTANCE",3
2615 DATA"[215]HAT WAS THE FIRST THING THE","RESCUER TOLD THE AUTHOR?"
2620 DATA"EVERYONE WAS SAFE","THE WAVE WAS INCREDIBLE","THE BOAT WAS UNHARMED"
2625 DATA"THAT THE RESCUER WAS A POLICEMAN",1
2630 DATA"[215]HAT IS A 'MAYDAY'?"," ","A PUBLIC HOLIDAY","A CRY FOR HELP"
2635 DATA"A BOAT'S LOCATION","NONE OF THESE",2
2640 DATA"[215]HY DID THE POLICEMAN FEEL THAT","THE AUTHOR MUST LIVE RIGHT?"
2645 DATA"BECAUSE THE BOAT WAS UNSCRATCHED","THEY FOUND THE LIGHTHOUSE"
2650 DATA"THE AUTHOR SAILED WELL","THEY HAD SURVIVED THE WAVE",4
2655 DATA"[215]HAT DOES THE RESCUER MEAN WHEN","HE SAID THE AUTHOR 'LIVED RIGHT'?"
2660 DATA"THE AUTHOR WAS LUCKY","THE AUTHOR WAS STRONG","THE AUTHOR WAS HONEST"
2665 DATA"THE AUTHOR WAS VERY BRAVE",1
2670 DATA"[215]HAT DOES THE WORD 'CONCERNED'","MEAN?","UPSET","FRIGHTENED"
2675 DATA"WORRIED","FRIENDLY",3
4997 :
4998 REM **** END OF STORY DATA ****
4999 :
5000 POKE53280,5:POKE53281,12:GOSUB6870
5007 PRINT"[147]";NA$
5010 PRINT" [200]ELLO, ";SN$;"."
5020 PRINT" [208]LEASE READ THE STORY AND"
5030 PRINT" ANSWER THE QUESTIONS THAT"
5040 PRINT" FOLLOW."
5050 PRINT" [217]OU MAY HAVE THE STORY PRINTED"
5060 PRINT" OUT IN TWO DIFFERENT WAYS."
5070 PRINT" 1) [193] PARAGRAPH [146] AT A TIME."
5080 PRINT" 2) [193] PHRASE [146] AT A TIME."
5090 PRINT" [201]N OPTION NUMBER TWO YOU "
5100 PRINT" WILL BE ABLE TO CONTROL THE "
5110 PRINT" SPEED OF THE PHRASES AS THEY"
5120 PRINT" FLASH ON THE SCREEN."
5130 PRINT" [215]HICH [207][208][212][201][207][206] WOULD YOU LIKE (1 OR 2)?"
5140 GETX$:IFX$=""THEN5140
5150 QH=VAL(X$):IFQH<1ORQH>2THEN5140
5160 RETURN
5170 GETZ$:IFZ$=""THEN5170
5180 IFZ$<>CHR$(13)THEN5170
5190 GOSUB5560
5210 RETURN
5220 PRINT"[147]":POKE53280,6:POKE53281,12
5230 GOSUB5340:GOTO5240
5240 AS=2006:AD=-39
5250 PRINTWS$;" ONE MOMENT, PLEASE! "
5260 GOSUB76:RETURN
5270 FORD=1TO100:NEXTD:RETURN
5280 RETURN
5290 RETURN
5300 RETURN
5310 :
5320 REM *** GRAPHIC OPENING ***
5330 :
5340 POKE53281,12:POKE53280,7
5350 PRINT" R. PRACHUN (1983) "
5352 :
5353 REM *** OPENING GRAPHIC START ***
5354 :
5360 PRINT" [205][221][206]
5365 [153]" LENSYS(null)LEN STOPTOTO
5370 PRINT" [206][144][166][205] [144][164][164][164][164][206][164][164][205]
5375 [153]" STOPSPC( (null) (null) (null)(null)TAB(
5380 PRINT" [166] [164][206][205] [221][158][205]
5385 [153]" STOP(null)TAB((null)(null)(null)(null) TOTO (null)(null) (null)SYS(null)(null)
5390 PRINT" [206][144][221][158] [206][205]
5395 [153]" THE MONSTER SYS(null)SYSTHENSTOP(null)SYS (null)(null)
5400 PRINT" [206][205][158][167][144][221][158] [206][205]
5405 [153]" WAVE MID$(null)MID$(null) SYS(null)(null) SYSTHENSTOP(null)SYSTOTOTOTOTO(null)
5410 PRINT" [202][202][213][213][213][158][206][164][164][164][158][186][144][164][206][165][164][164] [158][163][213][202]
5415 [153]" (null)MID$(null)MID$STOPTHEN(null) FN(null)(null)STOPFNTAB( (null)FNMID$(null)MID$
5420 PRINT" [213][202][213][202][202][213][144][205][163][163][163][163][163][163][163][163][206][213][202][213][202][213][202]
5425 [153]" (null)MID$(null)MID$(null)MID$(null)(null)MID$(null)(null)(null)MID$(null)MID$(null)MID$MID$(null)MID$(null)MID$(null)MID$
5430 PRINT" [213][202][213][202][213][202][213][202][213][202][213][202][213][202][213][202][213][202][213]
5435 [153]"
5440 PRINT"
5445 [142]
5455 [142]
5555 [143] *** END OF OPENING GRAPHIC ***
5560 SM[178]54272:[129]L[178]0[164]24:[151]SM[170]L,0:[130]
5570 [151]SM[170]1,45 :[151]SM[170]5,10
5580 [151]SM[170]15,30:[151]SM[170]24,6:[151]SM[170]4,21
5590 [129]TT[178]1[164]150:[130]
5600 [151]SM[170]4,20:[151]SM[170]24,0
5610 [142]
5640 :
5650 [143] *** PRINTOUT ROUTINE ***
5660 :
5670 [139]QH[178]1[167]6050
5680 [151]53280,0:[151]53281,11
5690 [129]I[178]1[164]N1(F)
5700 SH[178][194](203):[139]SH[178]4[167]S[178]S[171]5
5710 [139]SH[178]3[167]S[178]S[170]5
5720 [139]S[179]10[167]S[178]10
5730 [139]S[177]60[167]S[178]60
5740 SH[178]64
5750 [153]" (null)(null)VALVALSTR$ WAIT =";S
5760 [153]E$:[153]F$;
5770 [153]" ";(P1$(F,I))
5780 [129] J[178]1[164]S[172]10:[130]J
5790 [130] I:[142]
5800 :
6040 :
6050 [153]"LOAD";NA$;"":[129]I[178]1[164]N1(F)
6060 [153] MO$(NX);P1$(F,I)" ";
6070 NX[178]NX[170]1:[139]NX[178]2[167][153]:NX[178]0
6080 [139]P1$(F,I)[178]" "[167][141]6200
6090 [130]I:NX[178]0:[142]
6100 [144]:[153]"LOAD";NA$;"":[129]I[178]1[164]N2
6110 [153] P1$(F,I);" ";
6120 NX[178]NX[170]1:[139]NX[178]2[167][153]:NX[178]0
6130 [139]P1$(F,I)[178]" "[167][141]6200
6140 [130]I:NX[178]0:[142]
6150 [153]"LOAD";NA$;"":[129]I[178]1[164]N3
6160 [153] P1$(F,I);" ";
6170 NX[178]NX[170]1:[139]NX[178]2[167][153]:NX[178]0
6180 [139]P3$(F,I)[178]" "[167][141]6200
6190 [130]I:NX[178]0:[142]
6200 [153]" (null)RESS THE WAIT (null)ETURN (null)EY TO LENONTINUE "
6210 [161]Z$:[139]Z$[178]""[167]6210
6220 [139]Z$[179][177][199](13)[167]6210
6230 [153]"LOAD";NA$;"":NX[178]0:[142]
6235 :
6300 [143]
6310 [153]"LOAD (null)OU APPEAR TO BE HAVING SOME "
6320 [153]" TROUBLE WITH THESE QUESTIONS."
6330 [153]" (null)RY READING THIS PART OF THE"
6340 [153]" STORY AGAIN. RIGHT$ WILL GIVE YOU "
6350 [153]" ANOTHER SET OF QUESTIONS WHEN"
6360 [153]" YOU HAVE FINISHED."
6370 [153]" (null)RESS THE WAIT (null)VAL(null)(null)(null)(null) KEY TO CONTINUE "
6380 [161]X$:[139]X$[178]""[167]6380
6390 [139]X$[179][177][199](13)[167]6380
6400 TM[178]0:VQ[178]2:[142]
6410 [153]"LOAD STR$O YOU WISH TO HAVE THE STORY"
6420 [153]" PRINTED OUT TO A PRINTER (Y/N)?"
6430 [161]Z$:[139]Z$[178]""[167]6430
6440 [139]Z$[178]"Y"[167][141]10500:[137]6470
6450 [139]Z$[179][177]"N"[167]6430
6460 [142]
6470 [139]DQ[178]2[167]DQ[178]0:[141]9700:[137]6410
6475 [153]"LOAD RIGHT$NSERT PAPER AND (null)URN ON (null)RINTER! ":[141]356
6480 [159]4,4
6490 [129]K[178]1[164]3
6500 [152]4,"";NA$
6510 [129] I[178]1[164] N1(K)
6520 [152]4,"";MO$(NX);P1$(K,I)" ";
6530 NX[178]NX[170]1:[139]NX[178]4[167][152]4:NX[178]0
6540 [139]P1$(K,I)[178]" "[167][152]4:NX[178]0
6550 [130]I:NX[178]0:[130]K:[160]4
6560 [142]
6570 [153]" (null)OULD YOU LIKE THE (null)EPORT TO BE"
6580 [153]" PRINTED ON A PRINTER (Y/N)?"
6590 [161]X$:[139]X$[178]""[167]6590
6600 [139]X$[178]"Y"[167]6630
6610 [139]X$[179][177]"N"[167]6590
6620 [142]
6630 [141]6850:[139]DQ[178]2[167][141]9700:[142]
6635 [153]" (null)RINTING OUT (null)EPORT FOR WAIT ";SN$
6640 TQ[178]W[170]R
6650 [159]4,4
6660 [152]4,"";NA$
6670 [152]4
6680 [152]4," ==================================="
6690 [152]4," (null)TUDENT: ";SN$
6700 [152]4," ==================================="
6710 [152]4," (null)TORY (null)EPORT"
6720 [152]4," ------------"
6730 [152]4," (null)OTAL (null)UMBER OF (null)UESTIONS: ";TQ
6740 [152]4
6750 [152]4," ATNNSWERS LENORRECT (1ST TRY): ";C1
6760 [152]4
6770 [152]4," ATNNSWERS LENORRECT (2ND TRY): ";C2
6780 [152]4
6790 [152]4," (null)OTAL RIGHT$NCORRECT (null)UESTIONS: ";W
6800 [152]4
6810 [152]4," (null)OTAL (null)UESTIONS LENORRECT : ";R
6820 [152]4," ----------------------------------"
6830 [152]4," (null)ERCENTAGE LENORRECT : ";PR;" %"
6840 [160]4:[141]356:[142]
6850 [158](828):[139][194](2)[178]5[167]DQ[178]2:[142]
6858 [153]"LOAD RIGHT$NSERT PAPER AND TURN ON THE PRINTER "
6860 [141]356:[153]"LOAD":[142]
6862 :
6870 [153][199](142):[153]"LOAD"
6880 VB$[178]"":IU[178]14:JQ[178]0
6900 [153]" PLEASE TYPE IN YOUR FIRST "
6910 [153]" NAME:>WAIT ":[153]
6920 ZZ$[178]"":[151]204,1:[153]VB$
6930 [161]ZA$:[139]ZA$[178]""[167]6930
6940 [139][198](ZA$)[178]13[167]SN$[178]ZZ$:[137]7000
6950 [139][198](ZA$)[178]20[167][137]6980
6955 [139][198](ZA$)[179]65[176][198](ZA$)[177]90[167]6930
6957 JQ[178]JQ[170]1:[139]JQ[178]16[167]ZZ$[178]"":[137]6870
6960 ZZ$[178]ZZ$[170]ZA$:IU[178]IU[170]1
6970 [153]"";[163]IU);ZA$;:[137]6930
6980 [139]IU[178]14[167][137]6930
6990 JQ[178]JQ[171]1:ZZ$[178][200](ZZ$,[195](ZZ$)[171]1):IU[178]IU[171]1:[137]6970
7000 [139]SN$[178]""[167]6870
7010 FL[178][198]([200](ZZ$,1)):FL[178]FL[170]128
7020 SN$[178][202](ZZ$,2,([195](ZZ$)[171]1))
7030 ZZ$[178][199](FL)[170]SN$:SN$[178]ZZ$
7040 [153][199](14):[142]
8000 [153]"LOAD (null)OULD YOU OR ANYONE ELSE LIKE "
8010 [153]" TO READ THIS STORY NOW (Y/N)?"
8020 [161]Z$:[139]Z$[178]""[167]8020
8025 [139]Z$[178]"Y"[167][138]
8030 [139]Z$[179][177]"N"[167]8020
8040 :
8041 [153]" (null)OULD YOU LIKE ANOTHER STORY"
8042 [153]" PERHAPS (Y/N)?"
8050 [161]X$:[139]X$[178]""[167]8050
8060 [139]X$[178]"Y"[167][141]9500:[137]9000
8070 [139]X$[179][177]"N"[167]8050
8100 [158]64738
8200 :[128]:
9000 [139]DQ[178]2[167]DQ[178]0:[151]831,4:[141]9700:[137]8040
9005 [153]"STOPLOAD (null)OADING: (null)AIN (null)ENU 64 "
9010 [151]53281,1:[151]53280,6
9020 [143] *** BOOT SAMPLE ***
9030 :
9040 :
9050 [143] *** FIRST PROGRAM BOOTED ***
9060 :
9070 [153]"LOAD"[199](34)"MAIN MENU 64";[199](34)",8"
9080 :
9090 :
9100 [153]"RUN"
9110 :
9120 [143] *** SET-UP KEYBOARD BUFFER ***
9130 :
9140 [153]"":[129]J[178]0[164]4:[151]631[170]J,13:[130]J:[151]198,5
9150 [128]
9500 [151]831,8:[141]10500:[139]DQ[178]2[167][142]
9505 [153]"LOAD RIGHT$NSERT THE ATNDVENTURE (null)ERIES DISK"
9510 [153]" INTO THE DISK DRIVE."
9520 [141]356:[142]
9700 [153]"LOAD (null)PPS! (null)HE DEVICE IS NOT READY! "
9710 [141]356:[142]
10000 [129]K[178]0[164]24
10010 [135] ZZ:[151]828[170]K,ZZ
10020 [130] K:[142]
10500 [158](828):[139][194](2)[178]5[167]DQ[178]2
10510 [142]